package org.mch.comm.entity;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 描述：；<BR>
 * 
 * 类名：TUsersEO.java<BR>
 * 
 * @author MCH；Date：2008-10-01<BR>
 * 
 *         说明：；<BR>
 * <BR>
 */
@Entity
@Table(name = "t_users")
public class MUsersEO implements Serializable {
	private static final long serialVersionUID = 793597006724311L;

	/**
	 * t_hardtel；
	 */
	@Column
	private String t_hardtel;

	/**
	 * t_companyadd；
	 */
	@Column
	private String t_companyadd;

	/**
	 * t_idno；
	 */
	@Column
	private String t_idno;

	/**
	 * t_sellcont；
	 */
	@Column
	private String t_sellcont;

	/**
	 * t_manager；
	 */
	@Column
	private String t_manager;

	/**
	 * t_selltrust；
	 */
	@Column
	private String t_selltrust;

	/**
	 * t_userpass；
	 */
	@Column
	private String t_userpass;

	/**
	 * t_tel；
	 */
	@Column
	private String t_tel;

	/**
	 * t_managerid；
	 */
	@Column
	private String t_managerid;

	/**
	 * t_paytrust；
	 */
	@Column
	private String t_paytrust;

	/**
	 * t_company；
	 */
	@Column
	private String t_company;

	/**
	 * t_email；
	 */
	@Column
	private String t_email;

	/**
	 * user_id；
	 */
	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	private Integer user_id;

	/**
	 * t_name；
	 */
	@Column
	private String t_name;

	/**
	 * t_address；
	 */
	@Column
	private String t_address;

	/**
	 * t_nickname；
	 */
	@Column
	private String t_nickname;

	/**
	 * t_sign；
	 */
	@Column
	private Integer t_sign = 0;

	public MUsersEO() {
		super();
	}

	public MUsersEO(String t_name, String t_userpass, String t_nickname) {
		super();
		this.t_userpass = t_userpass;
		this.t_name = t_name;
		this.t_nickname = t_nickname;
	}

	public String getT_hardtel() {
		return this.t_hardtel;
	}

	public void setT_hardtel(String t_hardtel) {
		this.t_hardtel = t_hardtel;
	}

	public String getT_companyadd() {
		return this.t_companyadd;
	}

	public void setT_companyadd(String t_companyadd) {
		this.t_companyadd = t_companyadd;
	}

	public String getT_idno() {
		return this.t_idno;
	}

	public void setT_idno(String t_idno) {
		this.t_idno = t_idno;
	}

	public String getT_sellcont() {
		return this.t_sellcont;
	}

	public void setT_sellcont(String t_sellcont) {
		this.t_sellcont = t_sellcont;
	}

	public String getT_manager() {
		return this.t_manager;
	}

	public void setT_manager(String t_manager) {
		this.t_manager = t_manager;
	}

	public String getT_selltrust() {
		return this.t_selltrust;
	}

	public void setT_selltrust(String t_selltrust) {
		this.t_selltrust = t_selltrust;
	}

	public String getT_userpass() {
		return this.t_userpass;
	}

	public void setT_userpass(String t_userpass) {
		this.t_userpass = t_userpass;
	}

	public String getT_tel() {
		return this.t_tel;
	}

	public void setT_tel(String t_tel) {
		this.t_tel = t_tel;
	}

	public String getT_managerid() {
		return this.t_managerid;
	}

	public void setT_managerid(String t_managerid) {
		this.t_managerid = t_managerid;
	}

	public String getT_paytrust() {
		return this.t_paytrust;
	}

	public void setT_paytrust(String t_paytrust) {
		this.t_paytrust = t_paytrust;
	}

	public String getT_company() {
		return this.t_company;
	}

	public void setT_company(String t_company) {
		this.t_company = t_company;
	}

	public String getT_email() {
		return this.t_email;
	}

	public void setT_email(String t_email) {
		this.t_email = t_email;
	}

	public Integer getUser_id() {
		return this.user_id;
	}

	public void setUser_id(Integer user_id) {
		this.user_id = user_id;
	}

	public String getT_name() {
		return this.t_name;
	}

	public void setT_name(String t_name) {
		this.t_name = t_name;
	}

	public String getT_address() {
		return this.t_address;
	}

	public void setT_address(String t_address) {
		this.t_address = t_address;
	}

	public String getT_nickname() {
		return this.t_nickname;
	}

	public void setT_nickname(String t_nickname) {
		this.t_nickname = t_nickname;
	}

	public Integer getT_sign() {
		return this.t_sign;
	}

	public void setT_sign(Integer t_sign) {
		this.t_sign = t_sign;
	}

	public String getTableName() {
		return "t_users";
	}

	public String getPKFieldName() {
		return "user_id";
	}
}
